package com.xuecheng.content.model.dto;

import com.xuecheng.content.model.po.Teachplan;
import com.xuecheng.content.model.po.TeachplanMedia;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 课程计划信息模型类
 *
 * @author itcast
 */
@Data
@ApiModel("课程计划信息模型类")
public class TeachplanDto extends Teachplan {
    /**
     * 与媒资管理的信息
     */
    @ApiModelProperty(value = "媒资相关信息")
    private TeachplanMedia teachplanMedia;

    /**
     * 章节列表
     */
    @ApiModelProperty(value = "章节列表")
    private List<TeachplanDto> teachPlanTreeNodes;
}
